package com.qf.flower_zuul.service;


import com.qf.flower_zuul.entity.JsonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "MIAOSHA-SERVICE" ,fallback = MyFlowerInfoHystrix.class)
public interface MiaoShaService {
    @RequestMapping("/miaosha/miaosha")
    JsonResult minaoShaBegin(@RequestParam("flowerId") Long flowerId);
}